﻿using System.ComponentModel.DataAnnotations;

namespace Modules.System.User
{
    /// <summary>
    /// 用户密码存储格式
    /// </summary>
    public enum UserPasswordFormat
    {
        /// <summary>
        /// 密码未加密
        /// </summary>
        [Display(Name = "不加密")]
        Clear = 0,

        /// <summary>
        /// 标准MD5加密
        /// </summary>
        [Display(Name = "MD5加密")]
        MD5 = 1,

        /// <summary>
        /// 国密三加密
        /// </summary>
        [Display(Name = "国密3加密")]
        SM3 =2,

        /// <summary>
        /// 国密四加密
        /// </summary>
        [Display(Name = "国密4加密")]
        SM4 = 3
    }
}